package com.jt.RabbitmqService;//package com.jt.RabbitmqService;
//
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//
//@Component
//public class MessageSender {
//    @Autowired
//    private RabbitTemplate rabbitTemplate;
//
//    public void setMessage(String message) {
//        rabbitTemplate.convertAndSend("testQueue333", message);
//    }
//
//}
